package com.shop.czlmshop.service;

import com.shop.czlmshop.mapper.ActivityMapper;
import com.shop.czlmshop.pojo.Product;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: xmy
 * @Date: 2019-04-29 13:32
 * @Version 1.0
 */
@Service
public class ActivityServiceImpl implements ActivityService{

    @Autowired
    private ActivityMapper activityMapper;


    /**
     * @description: 查询轮播图上的活动图片
     * @param: null
     * @return: null
     * @auther: XMY
     * @date: 2019-04-29 11:49
     */
    @Override
    public List<Product> selLbProduct() {
        return activityMapper.selLbProduct();
    }
}
